package shuiyuqing.network.beans;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Calendar;

/**
 * @author cai
 * @date 2015-10-30 水闸信息表
 * 闸门和渠道之间多对一关系
 */


public class IrrBAWaterGate implements Serializable{
    private String watergateCode = "";                //水闸编码
    private String canalCode = "";                    //渠系编码
    private String watergateName = "";                //水闸名称
    private String watergateType = "";                //水闸类型
    private String watergateMET = "";                //闸门材质
    private String watergateLC = "";                    //水闸位置
    private BigDecimal watergateNUM = BigDecimal.ZERO;            //水闸孔数
    private BigDecimal watergateHeight = BigDecimal.ZERO;        //闸高
    private BigDecimal watergateWtdth = BigDecimal.ZERO;        //闸宽
    private BigDecimal watergateQ = BigDecimal.ZERO;            //设计流量
    private String watergateMTP = "";            //启闭机型号
    private Character watergateStatus;                //运行状态
    private String engManCd = "";                    //管理单位代码
    private String telephone = "";                    //电话
    private Calendar timeSign;                    //时间戳
    private String remark = "";                        //备注

    private String stadiaCode; //对应的测站编码

    private int orderNum;	// 闸站顺序

    private String designWaterLevel; // 设计水位

    private BigDecimal floorElevation;// 高程

    //	private IrrBTCanalDetail irrBTCanalDetail;	//闸门对应的渠道
    public String getWatergateCode() {
        return watergateCode;
    }

    public void setWatergateCode(String watergateCode) {
        this.watergateCode = watergateCode;
    }

    public String getCanalCode() {
        return canalCode;
    }

    public void setCanalCode(String canalCode) {
        this.canalCode = canalCode;
    }

    public String getWatergateName() {
        return watergateName;
    }

    public void setWatergateName(String watergateName) {
        this.watergateName = watergateName;
    }

    public String getWatergateType() {
        return watergateType;
    }

    public void setWatergateType(String watergateType) {
        this.watergateType = watergateType;
    }

    public String getWatergateMET() {
        return watergateMET;
    }

    public void setWatergateMET(String watergateMET) {
        this.watergateMET = watergateMET;
    }

    public String getWatergateLC() {
        return watergateLC;
    }

    public void setWatergateLC(String watergateLC) {
        this.watergateLC = watergateLC;
    }

    public BigDecimal getWatergateNUM() {
        return watergateNUM;
    }

    public void setWatergateNUM(BigDecimal watergateNUM) {
        this.watergateNUM = watergateNUM;
    }

    public BigDecimal getWatergateHeight() {
        return watergateHeight;
    }

    public void setWatergateHeight(BigDecimal watergateHeight) {
        this.watergateHeight = watergateHeight;
    }

    public BigDecimal getWatergateWtdth() {
        return watergateWtdth;
    }

    public void setWatergateWtdth(BigDecimal watergateWtdth) {
        this.watergateWtdth = watergateWtdth;
    }

    public BigDecimal getWatergateQ() {
        return watergateQ;
    }

    public void setWatergateQ(BigDecimal watergateQ) {
        this.watergateQ = watergateQ;
    }

    public String getWatergateMTP() {
        return watergateMTP;
    }

    public void setWatergateMTP(String watergateMTP) {
        this.watergateMTP = watergateMTP;
    }

    public Character getWatergateStatus() {
        return watergateStatus;
    }

    public void setWatergateStatus(Character watergateStatus) {
        this.watergateStatus = watergateStatus;
    }

    public String getEngManCd() {
        return engManCd;
    }

    public void setEngManCd(String engManCd) {
        this.engManCd = engManCd;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Calendar getTimeSign() {
        return timeSign;
    }

    public void setTimeSign(Calendar timeSign) {
        this.timeSign = timeSign;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStadiaCode() {
        return stadiaCode;
    }

    public void setStadiaCode(String stadiaCode) {
        this.stadiaCode = stadiaCode;
    }

    //	// 闸门和渠系多对一关系
//	@ManyToOne(cascade=CascadeType.REFRESH ,optional=false,fetch=FetchType.EAGER)
//	@JoinColumn(name="canalCode",referencedColumnName="canalCode",nullable=false,insertable=false,updatable=false)
//	public IrrBTCanalDetail getIrrBTCanalDetail() {
//		return irrBTCanalDetail;
//	}
//	public void setIrrBTCanalDetail(IrrBTCanalDetail irrBTCanalDetail) {
//		this.irrBTCanalDetail = irrBTCanalDetail;
//	}


    public String getDesignWaterLevel() {
        return designWaterLevel;
    }

    public void setDesignWaterLevel(String designWaterLevel) {
        this.designWaterLevel = designWaterLevel;
    }

    public BigDecimal getFloorElevation() {
        return floorElevation;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public void setFloorElevation(BigDecimal floorElevation) {
        this.floorElevation = floorElevation;
    }
}
